from ftllibs.items.itemtools import ItemIconData

class Item_3143():
    def __init__(self):
        self.parent=False
        self.Name="Randuin's Omen"
        self.IconFileName="3143.png"
        self.ID=3143
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['3132','1028','3082','1031','1006','1029']
        self.Builds_Into=[]
        self.Tags=['health','health_regen','armor','cooldown_reduction']
        self.Costs = 600
        self.Total_Costs = 3075
        self.Description="+350 Health +75 Armor +25 Health Regen per 5 seconds  UNIQUE Passive: +5% Cooldown Reduction  UNIQUE Passive: 20% chance on being hit by basic attacks to slow the attacker's Movement and Attack Speeds by 35% for 3 seconds.  UNIQUE Active: Slows the Movement and Attack Speeds of surrounding enemy units by 35% for 1 second + 0.5 seconds for each 100 combined Armor and Magic Resist your champion has (60 second cooldown)."
        self.RichText_Description=""
        self.has_active=True
        self.has_passive=True
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["all"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Health += 350.0
        self.parent.Armor += 75.0
        self.parent.Health_Regen_per_5_seconds += 25.0
        self.parent.Cooldown_Reduction += 5.0
        # above is %
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass


